package com.tianqi.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum EightCharactersReqTypeEnum {
    SOLAR(1, "阳历"),
    LUNAR(2, "阴历"),
    GANZHI(3, "干支历");


    @EnumValue
    @JsonValue
    private final Integer code;
    private final String info;

    private EightCharactersReqTypeEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getInfo() {
        return this.info;
    }
}
